const path=require("path")
module.exports = {
    //入口
    entry: {
        vendor: "./src/index.js"
    },
    //模式
    mode: "development",
    //对应loader
    module: {
        rules: []
    },
    // 插件
    plugins: [],
    // 导出配置
    output: {
        filename: "bundle.js",
        path: path.resolve(__dirname,"build")
    },
}